package com.h3c.gm.entity.VO

import com.h3c.gm.entity.DO.BusOrgDO

class BusOrgVO {
    String orgid
    String orgname
    String country
    String province
    String city
    Date onlinedate
    Date createdate
    Short status
    String orgkey
    int hostcount

    def copyFromDO(BusOrgDO busOrgDO) {
        this.orgid = busOrgDO.orgid
        this.orgname = busOrgDO.getOrgname()
        this.country = busOrgDO.getCountry()
        this.province = busOrgDO.getProvince()
        this.city = busOrgDO.getCity()
        this.onlinedate = busOrgDO.getOnlinedate()
        this.createdate = busOrgDO.getCreatedate()
        this.status = busOrgDO.getStatus()
        this.orgkey = busOrgDO.orgkey
    }
}